<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>湖南第一师范学院 - 首页</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Microsoft YaHei", "SimHei", sans-serif;
        }
        body {
            color: #333;
            background-color: #fff;
            line-height: 1.6;
        }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        a {
            text-decoration: none;
            color: inherit;
            transition: color 0.3s ease;
        }
        ul {
            list-style: none;
        }

        /* 顶部横幅区域 */
        .top-banner {
            background: linear-gradient(#e6f2ff, #f0f7ff);
            padding: 10px 0;
        }
        .top-banner .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .welcome-text {
            font-size: 14px;
            color: #333;
        }
        .top-links {
            display: flex;
            gap: 20px;
            margin: 0 20px;
        }
        .top-links a {
            font-size: 14px;
            color: #333;
        }
        .top-links a:hover {
            color: #c0392b;
        }
        .search-box {
            display: flex;
            align-items: center;
        }
        .search-box input {
            width: 200px;
            height: 30px;
            padding: 0 10px;
            border: 1px solid #99ccff;
            border-radius: 4px 0 0 4px;
            outline: none;
            font-size: 14px;
        }
        .search-box button {
            height: 30px;
            width: 40px;
            background-color: #0a3d62;
            color: white;
            border: none;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
            font-size: 16px;
        }
        .search-box button:hover {
            background-color: #1e598e;
        }

        /* 2. 校徽与校训区（section） */
        .school-header {
            padding: 15px 0;
            background-color: #fff;
        }
        .school-header .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .logo-area {
            display: flex;
            align-items: center;
            gap: 20px;
        }
        .school-logo {
            height: 80px; /* 校徽高度匹配截图 */
        }
        .school-name {
            text-align: left; /* 校名左对齐，还原截图 */
        }
        .school-name h1 {
            font-size: 28px;
            color: #c0392b; /* 校名红色，匹配截图 */
            font-weight: normal;
            line-height: 1.2;
        }
        .school-name .en-name {
            font-size: 14px;
            color: #666;
            margin-top: 5px;
        }
        .motto {
            font-size: 18px;
            color: #c0392b;
            font-family: "SimSun", serif; /* 校训使用宋体，还原截图书法风格 */
            line-height: 1.5;
            text-align: right;
        }


        /* 主导航栏 */
        .main-nav {
            background-color: #0a3d62;
            height: 45px;
            line-height: 45px;
            box-shadow: 0 2px 3px rgba(0,0,0,0.1);
        }
        .nav-list {
            display: flex;
            justify-content: center;
        }
        .nav-item {
            position: relative;
            padding: 0 20px;
        }
        .nav-item a {
            color: white;
            font-size: 15px;
            display: block;
            padding: 0 5px;
        }
        .nav-item:hover {
            background-color: #1e598e;
        }
        .nav-item.active a {
            border-bottom: 2px solid white;
        }

        /* 轮播图区域 */
        .carousel {
            width: 100%;
            height: 420px;
            overflow: hidden;
            position: relative;
        }
        .carousel-inner {
            display: flex;
            width: 600%;
            height: 100%;
            transition: transform 0.5s ease-in-out;
        }
        .carousel-item {
            width: 16.66667%;
            height: 100%;
            position: relative;
        }
        .carousel-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .carousel-caption {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: #fff;
            text-align: center;
            padding: 0 20%;
            background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5));
        }
        .carousel-caption h2 {
            font-size: 36px;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
            line-height: 1.3;
        }
        .carousel-indicators {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
        }
        .carousel-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: rgba(255,255,255,0.6);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .carousel-dot.active {
            background-color: white;
            width: 30px;
            border-radius: 6px;
        }

        /* 核心内容区 */
        .content-section {
            padding: 30px 0;
        }
        .content-row {
            display: flex;
            gap: 30px;
        }
        .content-col {
            flex: 1;
        }
        .column-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid #c0392b;
        }
        .column-title {
            font-size: 18px;
            color: #333;
            font-weight: bold;
        }
        .more-link {
            font-size: 14px;
            color: #666;
        }
        .more-link:hover {
            color: #c0392b;
            text-decoration: underline;
        }

        /* 新闻列表样式 */
        .news-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .news-item {
            display: flex;
            align-items: center;
            padding: 5px 0;
            border-bottom: 1px dashed #eee;
        }
        .news-date {
            width: 70px;
            font-size: 12px;
            color: #666;
            text-align: right;
            margin-right: 15px;
            flex-shrink: 0;
        }
        .news-title {
            flex: 1;
            font-size: 14px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .news-title:hover {
            color: #c0392b;
            text-decoration: underline;
        }

        /* 底部区域 */
        footer {
            background-color: #f5f5f5;
            padding: 30px 0;
            margin-top: 20px;
            border-top: 1px solid #e0e0e0;
        }
        .footer-info {
            text-align: center;
            font-size: 14px;
            color: #666;
            line-height: 2;
        }
        .footer-info p:first-child {
            margin-bottom: 10px;
        }

        /* 书法字体 */
        @font-face {
            font-family: "Ma Shan Zheng";
            src: url("https://fonts.gstatic.com/s/mashanzheng/v15/9Bt33CxNwt7aOctW2x8D35Bq34qJHVFtmA.woff2") format('woff2');
            font-display: swap;
        }
    </style>
</head>
<body>
    <!-- 顶部横幅区域 -->
    <header class="top-banner">
        <div class="container">
            <div class="welcome-text">欢迎访问湖南第一师范学院！</div>
            <div class="top-links">
                <a href="#">English</a>
                <a href="#">信息公开</a>
                <a href="#">信息门户</a>
                <a href="#">会议公文</a>
                <a href="#">密码保护</a>
                <a href="#">教育邮箱</a>
                <a href="#">VPN登录</a>
                <a href="#">后台管理</a>
            </div>
            <div class="search-box">
                <input type="text" placeholder="请输入关键字">
                <button>🔍</button>
            </div>
        </div>
    </header>

    <!-- 校徽与校训区 -->
    <section class="school-header">
        <div class="container">
            <div class="logo-area">
                <img src="school-logo.png" alt="湖南第一师范学院校徽" class="school-seal">
            </div>
        
        </div>
    </section>

    <!-- 主导航栏 -->
    <nav class="main-nav">
        <div class="container">
            <ul class="nav-list">
                <li class="nav-item active"><a href="#">首页</a></li>
                <li class="nav-item"><a href="#">学校概况</a></li>
                <li class="nav-item"><a href="#">机构设置</a></li>
                <li class="nav-item"><a href="#">人才培养</a></li>
                <li class="nav-item"><a href="#">学科科研</a></li>
                <li class="nav-item"><a href="#">师资队伍</a></li>
                <li class="nav-item"><a href="#">招生就业</a></li>
                <li class="nav-item"><a href="#">社会服务</a></li>
                <li class="nav-item"><a href="#">国际交流</a></li>
                <li class="nav-item"><a href="#">文化生活</a></li>
                <li class="nav-item"><a href="#">阳光服务</a></li>
            </ul>
        </div>
    </nav>

    <!-- 轮播图区域 -->
    <section class="carousel">
        <div class="carousel-inner">
            <div class="carousel-item">
                <img src="carousel1.jpg" alt="本科教育教学宣传图">
                <div class="carousel-caption"></div>
            </div>
            <div class="carousel-item">
                <img src="carousel2.jpg" alt="校园风光">
                <div class="carousel-caption"></div>
            </div>
            <div class="carousel-item">
                <img src="carousel3.jpg" alt="学术活动">
                <div class="carousel-caption"></div>
            </div>
            <div class="carousel-item">
                <img src="carousel4.jpg" alt="学生活动">
                <div class="carousel-caption"></div>
            </div>
            <div class="carousel-item">
                <img src="carousel5.jpg" alt="学生活动">
                <div class="carousel-caption"></div>
            </div>
            <div class="carousel-item">
                <img src="carousel6.jpg" alt="招生宣传">
                <div class="carousel-caption"></div>
            </div>
        </div>
        <div class="carousel-indicators">
            <div class="carousel-dot active"></div>
            <div class="carousel-dot"></div>
            <div class="carousel-dot"></div>
            <div class="carousel-dot"></div>
            <div class="carousel-dot"></div>
            <div class="carousel-dot"></div>
        </div>
    </section>

    <!-- 核心内容区 -->
    <main class="content-section">
        <div class="container">
            <div class="content-row">
                <div class="content-col">
                    <div class="column-header">
                        <h3 class="column-title">一师要闻</h3>
                        <a href="#" class="more-link">更多 >></a>
                    </div>
                    <ul class="news-list">
                        <li class="news-item">
                            <span class="news-date">2024-06-15</span>
                            <a href="#" class="news-title">本科教育教学工作巡礼·学院篇 | 音乐舞蹈学院：落实《普通高等学校音乐教育专业本科学生必读书目》...</a>
                        </li>
                        <li class="news-item">
                            <span class="news-date">2024-06-14</span>
                            <a href="#" class="news-title">湖南科技学院来校考察交流</a>
                        </li>
                        <li class="news-item">
                            <span class="news-date">2024-06-13</span>
                            <a href="#" class="news-title">学校召开2024年全面从严治党工作会议</a>
                        </li>
                        <li class="news-item">
                            <span class="news-date">2024-06-12</span>
                            <a href="#" class="news-title">我校举办2024年“安全生产月”启动仪式</a>
                        </li>
                        <li class="news-item">
                            <span class="news-date">2024-06-10</span>
                            <a href="#" class="news-title">我校学子在湖南省大学生电子商务“创新、创意及创业”挑战赛中获佳绩</a>
                        </li>
                    </ul>
                </div>
                <div class="content-col">
                    <div class="column-header">
                        <h3 class="column-title">通知公告</h3>
                        <a href="#" class="more-link">更多 >></a>
                    </div>
                    <ul class="news-list">
                        <li class="news-item">
                            <span class="news-date">2024-06-15</span>
                            <a href="#" class="news-title">湖南第一师范学院2026年硕士研究生招生简章</a>
                        </li>
                        <li class="news-item">
                            <span class="news-date">2024-06-14</span>
                            <a href="#" class="news-title">关于开展2024年暑期教师研修工作的通知</a>
                        </li>
                        <li class="news-item">
                            <span class="news-date">2024-06-12</span>
                            <a href="#" class="news-title">湖南第一师范学院2025年诚聘英才</a>
                        </li>
                        <li class="news-item">
                            <span class="news-date">2024-06-10</span>
                            <a href="#" class="news-title">关于2024年端午节放假安排的通知</a>
                        </li>
                        <li class="news-item">
                            <span class="news-date">2024-06-08</span>
                            <a href="#" class="news-title">2024年上半年全国大学英语四、六级考试考生须知</a>
                        </li>
                    </ul>
                </div>
                <div class="content-col">
                    <div class="column-header">
                        <h3 class="column-title">人事招聘</h3>
                        <a href="#" class="more-link">更多 >></a>
                    </div>
                    <ul class="news-list">
                        <li class="news-item">
                            <span class="news-date">2024-06-15</span>
                            <a href="#" class="news-title">湖南第一师范学院2024年公开招聘专职辅导员公告</a>
                        </li>
                        <li class="news-item">
                            <span class="news-date">2024-06-10</span>
                            <a href="#" class="news-title">湖南第一师范学院2024年教学科研岗位招聘公告</a>
                        </li>
                        <li class="news-item">
                            <span class="news-date">2024-06-05</span>
                            <a href="#" class="news-title">关于做好2024年度职称评审工作的通知</a>
                        </li>
                        <li class="news-item">
                            <span class="news-date">2024-05-30</span>
                            <a href="#" class="news-title">2024年第二批公开招聘专任教师拟聘用人员公示</a>
                        </li>
                        <li class="news-item">
                            <span class="news-date">2024-05-25</span>
                            <a href="#" class="news-title">湖南第一师范学院2024年博士后科研流动站招聘启事</a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </main>

    <!-- 页脚区域 -->
    <footer>
        <div class="container">
            <div class="footer-info">
                <p>湖南第一师范学院 版权所有 | 地址：湖南省长沙市岳麓区枫林三路1015号 | 邮编：410205</p>
                <p>湘ICP备XXXXXXXX号-1 | 湘公网安备XXXXXXXXXXXXXX号 | 联系电话：0731-8822XXXX</p>
            </div>
        </div>
    </footer>

    <!-- 轮播图交互脚本 -->
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            const carouselInner = document.querySelector('.carousel-inner');
            const dots = document.querySelectorAll('.carousel-dot');
            const items = document.querySelectorAll('.carousel-item');
            let currentIndex = 0;
            const slideCount = dots.length;
            const itemWidthPercent = 100 / slideCount;
            let slideInterval;

            function goToSlide(index) {
                currentIndex = index;
                updateCarousel();
            }

            function updateCarousel() {
                carouselInner.style.transform = `translateX(-${currentIndex * itemWidthPercent}%)`;
                dots.forEach((dot, i) => {
                    dot.classList.toggle('active', i === currentIndex);
                });
            }

            function startAutoSlide() {
                slideInterval = setInterval(() => {
                    currentIndex = (currentIndex + 1) % slideCount;
                    updateCarousel();
                }, 5000);
            }

            function stopAutoSlide() {
                clearInterval(slideInterval);
            }

            dots.forEach((dot, i) => {
                dot.addEventListener('click', () => {
                    goToSlide(i);
                    stopAutoSlide();
                    startAutoSlide();
                });
            });

            const carousel = document.querySelector('.carousel');
            carousel.addEventListener('mouseenter', stopAutoSlide);
            carousel.addEventListener('mouseleave', startAutoSlide);

            startAutoSlide();
        });
    </script>
</body>
</html>